using System.Collections;
using System.Collections.Generic;
using Backpack;
using UnityEngine;
using UnityEngine.InputSystem;

public class UIInputController : MonoBehaviour
{
    public BackpackUI backpackUI;
    void Update()
    {
        if (Keyboard.current.tabKey.IsPressed())
        {
            backpackUI.gameObject.SetActive(true);
        }
        if (Keyboard.current.escapeKey.IsPressed())
        {
            backpackUI.gameObject.SetActive(false);
        }
    }
}
